# Automake file for gdbabar

INCLUDES = \
	-DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\"\
	-DPACKAGE_PIXMAP_DIR=\""$(datadir)/pixmaps"\"\
	-DPANE_ICONS_DIR=\""$(datadir)/gdbabar/pane_icons"\"\
	-DDATA_DIR=\""$(datadir)/gdbabar"\"

AM_CFLAGS = -Wall -O4 -g -s

bin_PROGRAMS = \
	gdbabar\
	gdbabar-config 

# libcommon.a --------------------------------------------------
noinst_LIBRARIES = libcommon.a

libcommon_a_SOURCES = common.c

libcommon_a_CFLAGS = $(GTK_CFLAGS)
# --------------------------------------------------------------

# gdbabar ------------------------------------------------------
gdbabar_SOURCES = gdbabar.c

gdbabar_CFLAGS = $(GTK_CFLAGS)
gdbabar_LDADD = $(GTK_LIBS) -L. -lcommon
# --------------------------------------------------------------

# gdbabar-config -----------------------------------------------
gdbabar_config_SOURCES = \
	gdbabar-config.c\
	gdm_add_preview.c\
	gdbc_dock_pane.c\
	gdbc_icon_pane.c\
	gdbc_font_pane.c\
	gdbc_about_pane.c

gdbabar_config_CFLAGS = $(GTK_CFLAGS)
gdbabar_config_LDADD = $(GTK_LIBS) -L. -lcommon
# --------------------------------------------------------------

